Page({

  /**
   * 页面的初始数据
   */
data() {
array:[]
},

/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
  wx.request({
      url: 'http://www.healthcare.com/api/zvous/ali_refund',
      success:res=>{
      this.setData({
          array:res.data.data
        })
        console.log(res);
      },
    })
},
pay(e){
let order_no = e.currentTarget.dataset.order_no
console.log(order_no);
wx.navigateTo({
  url: '/pages/pay/pay?order_no='+order_no,
})
},
stocks(e){
  wx.navigateTo({
    url: '/pages/order_stocks/order_stocks',
  })
}
})